#!/usr/bin/node
const http=require('http')

        log=console.log;
       fs=require('fs');
  http.createServer((req,res)=>{
     log(process.pid)
     log(`${req.meethod}${req.url}Http/${req.httpVersion}`)
     log(req.headers);
     log();
  let fileName=_dirname+req.url;
        fileData=fs.readFileSync
    res.end(fileData);
  }).listen(8080)



